package edu.yuhf.web.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import edu.yuhf.web.dao.iface.UserDao;
import edu.yuhf.web.service.iface.UserService;

@Service("userService")
@Transactional
public class UserServiceImpl implements UserService {

	@Resource 
	UserDao userDao;
	@Override
	public boolean userInfoCheck(String name, String password) {
		return userDao.checkNameAndPassword(name, password);
	}

}
